-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add isPlainObject #133
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although nearly all of these additional changes made in c1aa265 are desirable, they do fall outside the scope of this PR (which is to handle the addition of a new helper function).
I am thinking that we can propose your changes from that commit as being made in a separate PR so that we can continue the discussion relating to isPlainObject
here…
Let me see about moving that commit over into another PR.
Refs: https://babeljs.io/docs/en/assumptions#setspreadproperties Fixes: OpenINF#141 Fixes: OpenINF#139 Co-authored-by: Brian Greig <brian@resurgencewebdesign.com> Co-authored-by: septs <github@septs.pw> Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
This commit fixes the style issues introduced in 34fdb2a according to the output from prettier. Details: https://deepsource.io/gh/openinf/util-object/transform/cbebf681-0853-4c36-8d29-c8d47d0f641f/ Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.8.5 to 18.11.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Restyled Commits <commits@restyled.io> Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is> Signed-off-by: Restyled Commits <commits@restyled.io>
Refs: https://blog.jarrousse.org/2022/07/31/yaml-files-linting-and-formatting/ Refs: https://yaml.org/spec/1.2-old/spec.html#style/block/literal Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
Signed-off-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.11.0 to 18.11.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.11.2 to 18.11.3. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@ignoreintuition, do you think you would be able to rebase this PR when you get the chance? It would be cool to see what CI is saying about it now. Let me know if you have any trouble (i think i can do it on my end as well). |
c1aa265
to
cccdd9d
Compare
I rebased the file and added merged in my change. I am getting some errors in the workflows. Not sure if I did something wrong. |
Signed-off-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
f443c91
to
326d1b6
Compare
Well, it's the last day of Hacktoberfest and I want you to get credit for this, but this commit should not be touching unrelated functions. Can you keep this focused on the one function? |
Unfortunately I am working late tonight. I'll try to look at this later this week. |
): boolean { | ||
if (o1 === null || o2 === null) { | ||
): boolean => { | ||
if (o1 == undefined || o2 == undefined) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (o1 == undefined || o2 == undefined) { | |
if (isNullish(o1) || isNullish(o2)) { |
36d23b9
to
b132da1
Compare
well, we kinda pulled the source code out from under you now (not sure what to do about that) maybe i will refactor this PR |
e3a966a
to
9e02c94
Compare
No description provided.